package com.vuespringboot.demo.repository;

import com.vuespringboot.demo.entity.Instrument;
import com.vuespringboot.demo.entity.Spread;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

/**
 * @author Lu
 * @date 2021/1/1 - 13:19
 */
public interface SpreadRepository extends JpaRepository<Spread,Integer> {
	//根据仪器名称模糊分页查询
	Page<Spread> findBySpChoose(int spChoose, Pageable pageable);

}
